package marina.model;

public class SubjectVO {
	private String subNo;
	private String subName;
	private String subOutline;
	private String subProfessor;
	
	public SubjectVO(String subNo, String subName, String subOutline, String subProfessor){
		this.subNo = subNo;
		this.subName = subName;
		this.subOutline = subOutline;
		this.subProfessor = subProfessor;
	}
	//setter
	public void setSubNo(String subNo){
		this.subNo = subNo;
	}
	public void setSubName(String subName){
		this.subName= subName;
	}
	public void setSubOutling(String subOutline){
		this.subOutline = subOutline;
	}
	public void setSubProfessor(String subProfessor){
		this.subProfessor = subProfessor;
	}
	
	//getter
	public String getSubNo(){
		return subNo;
	}
	public String getSubName(){
		return subName;
	}
	public String getSubOutline(){
		return subOutline;
	}
	public String getSubProfessor(){
		return subProfessor;
	}
	public String toString(){
		String result = "";
		result += subNo + "/" + subName + "/" + subOutline + "/" + subProfessor;
		return result;
	}
}
